const routes = [
    {
        path: '/',
        component: () => import('@/views/Main'),
        redirect: '/home',
        children: [
            {
                path: '/home',
                component: () => import('@/views/Home')
            },
            {
                path: '/goods',
                component: () => import('@/views/Goods/'),
                children: [
                    {
                        path: '/goods/brand',
                        component: () => import('@/views/Goods/Brand.vue'),
                        meta: {
                            title: '商品品牌'
                        }
                    },
                    {
                        path: '/goods/list',
                        component: () => import('@/views/Goods/List.vue'),
                        meta: {
                            title: '商品列表'
                        }
                    },
                    {
                        path: '/goods/classify',
                        component: () => import('@/views/Goods/Classify.vue'),
                        meta: {
                            title: '商品分类'
                        }
                    },
                    {
                        path: '/goods/standards',
                        component: () => import('@/views/Goods/Standards.vue'),
                        meta: {
                            title: '商品标准'
                        }
                    },
                ]
            },
            {
                path: '/order',
                component: () => import('@/views/Order'),
                children: [
                    {
                        path: '/order/list',
                        component: () => import('@/views/Order/List.vue'),
                        meta: {
                            title: '订单列表'
                        }
                    }
                ]
            },
            {
                path: '/vip',
                component: () => import('@/views/VIP'),
                children: [
                    {
                        path: '/vip/list',
                        component: () => import('@/views/VIP/List.vue'),
                        meta: {
                            title: '会员列表'
                        }
                    },
                    {
                        path: '/vip/tag',
                        component: () => import('@/views/VIP/Tag.vue'),
                        meta: {
                            title: '会员标签'
                        }
                    },
                    {
                        path: '/vip/grade',
                        component: () => import('@/views/VIP/Grade.vue'),
                        meta: {
                            title: '会员等级'
                        }
                    }
                ]
            },

        
            
        ]
    },
    

]
export default routes